docs(hub): document cscli.hub_branch for pinning to a pre-merge hub branch - #21
Open
sabban wants to merge 1 commit into
Open
docs(hub): document cscli.hub_branch for pinning to a pre-merge hub branch#21sabban wants to merge 1 commit into
sabban wants to merge 1 commit into
Conversation
Covers setting/showing hub_branch, the docker gotcha (no env-var equivalent), and two gotchas reproduced hands-on against a real in-progress hub PR: reverting taints collections that shared a now-bumped dependency, and items unique to the test branch can't be `cscli remove`d afterward (must delete the leftover files directly). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
cscli.hub_branchinreferences/configure/hub.md: what it does, how to set/show it (cscli hub branch), and that Docker has no dedicated env var for it.test-waf-challenge-mode-scenarios):hub_branchcan leave other collections tainted if the test branch bumped a shared dependency (e.g. a parser) past what the current index shipscscli <type> removed afterward (cscli no longer resolves the name) — the leftover files must be deleted directlySKILL.mdand a one-linecscli hub branchcheat-sheet entry.Verification
Ran the full flow against the crowdsec:dev docker deployment (
1.7.5-174-g66ab61fc-dirty): sethub_branch,hub update, confirmed the realcrowdsecurity/appsec-bot-challengecollection (unreleased, PR #1826) became installable, installed it, reverted, reproduced the taint, fixed it with--force, then cleaned up the orphaned items.verified:frontmatter entry added (env: docker, 2026-07-17).check-verification.pyandclaude plugin validate .both pass.Test plan
python3 skills/crowdsec/scripts/check-verification.py— new entry parses, 0d ageclaude plugin validate .— passes